package com.yunxi.dao.sto;

import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.model.sto.StoCarriageRoute;
import com.yunxi.model.sto.StoCarriageRouteDetail;
import com.yunxi.sto.pojo.StoCarriageRouteDetailVO;
import com.yunxi.sto.pojo.StoCarriageRouteListVO;
import com.yunxi.sto.pojo.StoCarrierListVO;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 运输路线 Mapper 接口
 * </p>
 *
 * @author caoYong
 * @since 2019-05-15
 */
public interface StoCarriageRouteMapper extends BaseMapperPlus<StoCarriageRoute> {
    List queryByList(Map<String, Object> map);

    List<StoCarriageRouteListVO> getList();

    List<StoCarrierListVO> carrierList(Map<String,String> map);

    List<StoCarriageRouteDetailVO> getCarrierById(String routeId);

    void removeRouteDetail(String routeId);
}
